import Vue, { set } from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    show: false,
    shopInfo: {},
  },
  getters: {
    shopInfo: (state) => state.shopInfo,
  },
  mutations: {
    getShow(state, play) {
      state.show = play;
    },
    setShopInfo(state, play) {
      state.shopInfo = play;
    },
  },
  actions: {},
  modules: {},
});
